<template>
  <div class="card-common-inner wise-man-market">
    <first-level-title title="营销服务" />
    <sec-level-title title="营销汇总" />
    <div class="market-total">
      <div class="total-item">
        <div class="title">工单总量</div>
        <div class="value">3456</div>
      </div>
      <div class="total-item">
        <div class="title">已执行工单量</div>
        <div class="value">2341</div>
      </div>
    </div>
    <div class="market-detail">
      <div class="market-detail-item">
        <div class="item-top">
          <span class="title">流失预警10月用户-倒三角</span>
          <span class="value">12</span>
        </div>
        <div class="item-bottom">
          <div class="bottom-info">
            <span class="sub-title">待回访用户</span>
            <span class="sub-value">32</span>
          </div>
          <div class="bottom-info">
            <span class="sub-title">已回访用户</span>
            <span class="sub-value">234</span>
          </div>
        </div>
      </div>
      <div class="market-detail-item">
        <div class="item-top">
          <span class="title">存量单移转融10.11</span>
          <span class="value">12</span>
        </div>
        <div class="item-bottom">
          <div class="bottom-info">
            <span class="sub-title">待回访用户</span>
            <span class="sub-value">32</span>
          </div>
          <div class="bottom-info">
            <span class="sub-title">已回访用户</span>
            <span class="sub-value">234</span>
          </div>
        </div>
      </div>
      <div class="market-detail-item">
        <div class="title">省分语音月包沃用数线下外呼营销活动（非副卡）</div>
        <div class="item-top">
          <span class="title">202110923</span>
          <span class="value">12</span>
        </div>
        <div class="item-bottom">
          <div class="bottom-info">
            <span class="sub-title">待回访用户</span>
            <span class="sub-value">32</span>
          </div>
          <div class="bottom-info">
            <span class="sub-title">已回访用户</span>
            <span class="sub-value">234</span>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import firstLevelTitle from '@/components/common/firstLevelTitle.vue'
import secLevelTitle from '@/components/common/secLevelTitle.vue'

export default {
  components: { firstLevelTitle, secLevelTitle },
}
</script>
<style lang="less" scoped>
@import '~@/assets/less/card.less';
.wise-man-market {
  .market-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    margin-top: 10px;
    .total-item {
      width: 50%;
      border-left: 1px solid rgba(245,245,245,1);
      &:first-child {
        border-left: none;
      }
    }
    .value {
      font-size: 24px;
      color: #4D98FF;
      margin-top: 4px;
    }
  }
  .market-detail {
    .market-detail-item {
      background: #F3F7FA;
      padding: 12px 10px;
      border-radius: 4px;
      margin-top: 10px;
      .item-top,
      .item-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .title {
        color: #333;
      }
      .value {
        font-size: 16px;
        color: #4D98FF;
      }
      .item-bottom {
        margin-top: 12px;
      }
      .bottom-info {
        width: 50%;
        border-left: 1px solid #999;
        display: flex;
        justify-content: space-between;
        &:first-child {
          border-left: none;
          .sub-value {
            padding-right: 10px;
          }
        }
        &:last-child .sub-title {
          padding-left: 10px;
        }
      }
      .sub-title {
        font-size: 12px;
        color: #666;
        &::before {
          content: '';
          width: 6px;
          height: 6px;
          display: inline-block;
          border: 1px solid #4D98FF;
          border-radius: 6px;
          margin-right: 6px;
        }
        &:last-child {
          padding-left: 10px;
        }
      }
      .sub-value {
        font-size: 16px;
        color: #333;
      }
    }
  }
}
</style>
